﻿#ifndef SETUP3WIND_H
#define SETUP3WIND_H

#include <QWidget>
#include <eqptinfo.h>
#include <tcpclient.h>
#include <CommonHelper.h>
#include <dbHelper.h>

namespace Ui {
class setup3wind;
}

class setup3wind : public QWidget
{
    Q_OBJECT

public:
    explicit setup3wind(QWidget *parent = 0);
    ~setup3wind();
signals:
    void changeTotalWindow();

private slots:
    void on_returnBtn_clicked();
    void on_SaveBtn_clicked();
    void on_pushButton_9_clicked();

    void doorStatusChanged();
    void on_pushButton_clicked();
    void on_pushButton_2_clicked();
    void on_pushButton_3_clicked();
    void on_pushButton_4_clicked();

private:
    void showEvent(QShowEvent *event) override;
    void ThresholdDetection();

private:
    Ui::setup3wind *ui;
    TcpClient *tcpClient;
    CommonHelper *common;

    QString RunningTime;
    QString TestTime;
    QString ExpNum;
    QString TestSampleNum;

};

#endif // SETUP3WIND_H
